# jdk11的docker生成文件
FROM centos:7.9.2009

MAINTAINER ccf xianggj@sinux.com.cn

RUN mkdir /usr/local/java

ADD jdk-11.0.13_linux-x64_bin.tar.gz /usr/local/java/

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone

ENV JAVA_HOME /usr/local/java/jdk-11.0.13
ENV PATH $JAVA_HOME/bin:$PATH
ENV LANG C.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8

VOLUME tmp

